package com.sirap.fish.fetchers;

import com.sirap.basic.tool.D;
import com.sirap.common.domain.Album;
import com.sirap.extractor.images.CatXFetcher;

public class CatXImageFetchers {

	public static void main(String[] args) {
		Object va = null;
		String vb = null;
//		va = getAlbums(3);
//		D.pl(countOfAlbum("https://www.fenun.cn/Item/Details/20912"));
//		va = getAlbumsByPage(1);
//		va = getAlbumsByPageUrl("https://www.cct58.com/xiezhen/");
//		va = getAlbumsByPersonUrl("https://www.cct58.com/xiezhen/733/mx27/");
//		va = getAlbumsByPageUrl("http://www.699mm.com/search-0-429.html");
//		va = getAlbum("https://www.cct58.com/xiezhen/11648/mx27id15607/");
		va = getAlbum("https://www.cct58.com/xiezhen/8333/mx27id8333/");
//		vb = "http://www.699mm.com/zhubo/86290_15.html";
//		vb = "http://www.699mm.com/zhubo/86290.html";
//		vb = "http://www.699mm.com/search-0-1343.html";
//		va = getAlbumsByPageUrl(vb);
//		va = imagesInPage(vb);
//		va = tagsFromList(IOUtil.readLinesWithUTF8("C:/mastorage/may/all.words.txt"));
		D.pjsp(va, Album.class);
	}
	
	public static Album getAlbum(String albumurl) {
		Album bum = CatXFetcher.of(albumurl);
		
		return bum;
	}
}
